﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using System.ServiceModel;

namespace ClientPerformance
{
    [MessageContract]
    public class NeighborAlertMessage
    {
        [PeerHopCount]
        public int HopsLeft;

        [MessageBodyMember]
        public string SourceId;

        public NeighborAlertMessage()
        { /* Default Constructor */ }

        public NeighborAlertMessage(string sourceId, int hops)
        {
            SourceId = sourceId;
            HopsLeft = hops;
        }
    }
}
